package com.qf.android.sport.retrofit;

import com.qf.android.sport.entity.match.AllMatch;

import retrofit2.Call;
import retrofit2.http.GET;

/**
 * Created by Administrator on 2016/12/19.
 */

public interface MatchHttpService {
    //全部比赛接口
    @GET("http://api.lifxapi.com/tiyu/rest/contest/time/channel?next_flag=false&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false")
    Call<AllMatch>getAllMatch();
    //热门比赛接口
    @GET("http://api.lifxapi.com/tiyu/rest/contest/recommend?machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false")
    Call<AllMatch>getHotMatch();
    //NBA
    @GET("http://api.lifxapi.com/tiyu/rest/contest/time/channel?next_flag=false&channel_id=1&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false")
    Call<AllMatch>getNBAMatch();
    //中国足球
    @GET("http://api.lifxapi.com/tiyu/rest/contest/time/channel?start_time=2016-10-29&end_time=2016-10-29&next_flag=false&channel_id=2&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false")
    Call<AllMatch>getCFMatch();
    //国际足球
    @GET("http://api.lifxapi.com/tiyu/rest/contest/time/channel?next_flag=false&channel_id=3&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false")
    Call<AllMatch>getIFMatch();
    //中国篮球
    @GET("http://api.lifxapi.com/tiyu/rest/contest/time/channel?next_flag=false&channel_id=4&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false")
    Call<AllMatch>getCBMatch();
}
